package code.google.model.player;

import code.google.model.player.states.StateManager;
import code.google.model.util.interfaces.ISong;

public class StreamingPlayer {
	private StateManager manager;
	
	public StreamingPlayer(){
		manager = new StateManager();
	}
	
	public boolean play(){
		return manager.play();
	}
	
	public boolean play(ISong song){
		return manager.play(song);
	}
	
	public boolean pause(){
		return manager.pause();
	}
	
	public boolean seekTo(int position){
		return manager.seekTo(position);
	}
	
	public ISong getCurrentSong(){
		return manager.getCurrentSong();
	}
	
	public void reset(){
		manager.reset();
	}

	public boolean isPlaying() {
		return manager.isPlaying();
	}
	

}
